home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-09-10 | 1.2 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="2"
- "COUNT"="1"
- "UIPATH"="Hardware\Video Cards\Riva 128"
- "NAME"="Heap Size"
- "VERSION"="1.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Heap Size (MB)"
- "DESCRIPTION 1"="Some options for your Riva 128 3D card."
- "DESCRIPTION 2"="If you have more than 64 MB of RAM this might boost your performance. Values range from 1 to 16 MB."
- "DESCRIPTION 3"="The more devoted RAM, the better the performance of your RIVA.
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
- "COMMENT 2"="Thanks to CptSiskoX!"
-
-
- sPC="HKLM\SOFTWARE\NVIDIA Corporation\OpenGL\"
- sV1="HKLM\SOFTWARE\NVIDIA Corporation\OpenGL\MaxPCITexHeapSize" 'DW 1 -16
- Sub Plugin_Initialize
- if RegPathExists(sPC) then
- i=RegReadValue(sV1)
- SetUiElement 1,i
- else
- Call Disable()
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- i=GetUIElement(1)
- if i>0 and i<17 then
- Call RegWriteValue(sV1,i,2)
- Call Restart()
- else
- Call MsgError("Please enter a value between 1 and 16")
- end if
-
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-